package com.quanquan.store.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 功能描述: 商铺标签
 *
 * @ClassName: Activity
 * @Author: xiaoqianh丶
 * @Date: 2019-03-26 16:44
 * @Version: V1.0
 */
@Data
@Entity
@Table(name = "oo_label")
public class Label implements Serializable {


    @Id
    @Column(name = "id", unique = true, length = 64)
    private String id;

    /**
     * 标签名称
     */
    @Column(name = "label_name", length = 64)
    private String labelName;

    /**
     * 标签图片
     */
    @Column(name = "label_image", length = 64)
    private String labelImage;

    /**
     * 图片id
     */
    private String imageId;

    /**
     * 标签角标
     */
    @Column(name = "label_picture", length = 64)
    private String labelPicture;

    private String pictureId;
    /**
     * 排序凭证
     */
    @Column(name = "sort_order")
    private Integer sortOrder;

    /**
     * 是否显示：0、显示 1、不显示
     */
    @Column(name = "status_show", nullable = false, columnDefinition = "TINYINT default 0")
    private Integer statusShow;

    /**
     * 是否删除：0、未删除，1、删除
     */
    @Column(name = "status_remove", nullable = false, columnDefinition = "TINYINT default 0")
    private Integer statusRemove;

    @Column(name = "create_time", length = 32)
    private String createTime;

    @Column(name = "update_time", length = 32)
    private String updateTime;

}
